@extends('common')
@section('content')
<form method="post" action="">
	

<div class="theme-popover">
     <div class="theme-poptit">
          
     </div>
    <div align='center' style="margin-top:30px">
	  <table>
	  <tr>
	  <td><h4>权限添加</h4></td>
	  <td></td>
	  </tr>
	  <tr>
		<td>权限描述：</td>
		<td><input type="text" name="p_desc" required></td>
	  </tr>
	  <tr>
		<td>权限 URL:</td>
		<td><input type="text" name="p_url" required></td>
	  </tr>
	  <tr>
		<td>父级权限:</td>
		<td>
		<select name="pid">
			<option value="0">顶级权限
			@foreach($info as $v)
			<option value="{{$v['p_id']}}">{{$v['p_desc']}}
			@endforeach
		</select>
        </td>
	  </tr>
	  <tr>
	   <input type="hidden" name="_token" value="{{ csrf_token() }}">
		<td><input type="submit" value="保存"></td>
		<td></td>
	  </tr>
	  </table>	
	  </form>
	</div>
	@stop